Vue.component("header-nav", {
    template: "#header-nav",
    data() {
        return {
            listData: [
                { title: "首页" },
                {
                    title: "学院概况",
                    subList: [
                        { title: "学院概况" }, 
                        { title: "学院简介" }, 
                        { title: "现任领导" },
                        { title: "办学理念" },
                        { title: "标识校训" },
                        { title: "盛华校歌" },
                        { title: "组织结构" },
                        { title: "校长寄语" },
                        { title: "校园环境" },
                    ]
                },
                { title: "学院新闻" },
                { title: "组织机构" },
                { title: "招生就业" },
                { title: "党建工作" },
                { title: "校园活动" },
                { title: "志愿者文化" },
                { title: "数字化校园" },
            ]
        }
    }
});

Vue.component("sub-nav", {
    template: "#sub-nav",
    props: {
        listData: {
            type: Array,
            required: true
        }
    }
})